<script>
	export default {
		onLaunch: function() {
			uni.hideTabBar();
			console.log('App Launch')
		},
		onShow: function() {
			uni.hideTabBar();
			let menuButtonObject = wx.getMenuButtonBoundingClientRect()
			// 获取设备信息
			wx.getSystemInfo({
				success: res => {
					let navHeight = menuButtonObject.top + menuButtonObject.height + (menuButtonObject
						.top - res.statusBarHeight) * 2
					uni.setStorageSync('ht', navHeight)
				},
				fail: err => {
					console.log(err)
				}
			})
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
<style>
	@import '@/setting.css';
	/* 	@import 'static/font/blodos/stylesheet.css';
	@import 'static/font/Medium/stylesheet.css';
	@import 'static/font/Regular/stylesheet.css'; */
</style>
<style lang="scss">
	@import "uview-ui/index.scss";

	page {
		background-color: #f6f5f1;
	}

	.uni-loading {
		/*自定义样式*/
		/*例如修改背景颜色为红色*/
		background-color: red;
		/*修改文字颜色为白色*/
		color: white;
		/*修改字体大小为14px*/
		font-size: 14px;
	}
</style>